<h1>
	<?php echo $this->pageTitle; ?>
</h1>
<div id="normaltable">
	<table>
		<thead>
			<tr>
				<th>Customer Name</th>
				<th>Customer Number</th>
				<th>Salesrep</th>
				<th>ManagementUnit</th>
				<th>RMA permission</th>
				<th>Campaign permission</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			<?php 

			foreach($this->entries as $row) {

				echo "<tr><td>".$row->getCustomerName()."</td><td>".$row->getCustomerNumber()."</td>"."</td><td>".$row->getSalesRepName()."</td><td>".$row->getManagementUnit()."</td><td>".$row->getRmaPermission()."</td><td>".$row->getCampaignPermission()."</td>";

				echo "<td><a href=".$this->url(array(
						'partyNumber' => $row->getPartyNumber(),
						'controller' => 'customer',
						'action'     => 'edit')).">EDIT<a></td>";
			}

			?>
		</tbody>
	</table>
</div>
